﻿using Coldairarrow.Entity.Base_Company;
using Coldairarrow.Util;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Coldairarrow.Business.Base_Company
{
    public interface IBase_ComapnyDataBusiness
    {
        Task<PageResult<Base_ComapnyData>> GetDataListAsync(PageInput<ComapnyDataInputDTO> input);
        Task<Base_ComapnyData> GetTheDataAsync(string id);
        Base_ComapnyData GetModel(string id);
        string GetCId(string url);
        string GetTFCId(string url);
        string GetFCId(string url);
        Task AddDataAsync(Base_ComapnyData data);
        Task UpdateDataAsync(Base_ComapnyData data);
        Task DeleteDataAsync(List<string> ids);
        Task SetRCompanys(SetRCompanyDTO input);
        object GetRCompanys(string id);
        List<object> GetRCompanyList(string id);
        string GetMWebSite(string cId);

        List<string> GetTest();
        string GetFile();
    }

    public class ComapnyDataInputDTO
    {
        public string CompanyId { get; set; }

        public string Search { get; set; }
    }
}